package yjmyzz.service.model;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
 
@XmlRootElement(name = "user")
public class User {
 
	String username;
	String password;
	int pin;
 
	@XmlElement
	public String getUsername() {
		return username;
	}
 
	public void setUsername(String username) {
		this.username = username;
	}
 
	@XmlElement
	public String getPassword() {
		return password;
	}
 
	public void setPassword(String password) {
		this.password = password;
	}
 
	@XmlAttribute
	public int getPin() {
		return pin;
	}
 
	public void setPin(int pin) {
		this.pin = pin;
	}
 
}